package com.team.engine.fileupload.dao;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import com.team.engine.basedao.BaseEntity;

/**
 * 文件组信息表实体
 * @author MengLH
 * @data 2010-8-4
 */
@Entity
@Table(name="t_filegroup")
public class TFilegroup extends BaseEntity {
	
	/**
	 * 文件组Id UUID格式
	 */
	@Id
	@Column(name="filegroup_id", unique=true)
	private String filegroupId;
	
	/**
	 * 文件组名
	 */
	@Column
	private String name;
	
	/**
	 * 创建时间
	 */
	@Column
	@Temporal(TemporalType.TIMESTAMP)
	private Date timeflag;

	public TFilegroup(){
	}
	
	public String getFilegroupId() {
		return filegroupId;
	}

	public void setFilegroupId(String filegroupId) {
		this.filegroupId = filegroupId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getTimeflag() {
		return timeflag;
	}

	public void setTimeflag(Date timeflag) {
		this.timeflag = timeflag;
	}

}
